<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="generator" content="MATLAB R2016a"><meta http-equiv="X-UA-Compatible" content="IE=edge,IE=9,chrome=1"><title>PID_Control_Model_of_PMSM</title><style type="text/css">
* {margin: 0; padding: 0;}
body {text-align: start; line-height: 17.2339992523193px; min-height: 0px; white-space: normal; color: rgb(0, 0, 0); font-family: Consolas, Inconsolata, Menlo, monospace; font-style: normal; font-size: 14px; font-weight: normal; text-decoration: none; white-space: normal; }
h1, h2 {font-weight: normal;}
.content { padding: 30px; }

.S0 { margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px;  }
.S1 { line-height: 26.3999996185303px; min-height: 24px; white-space: pre-wrap; color: rgb(213, 80, 0); font-family: Helvetica, Arial, sans-serif; font-size: 22px; white-space: pre-wrap; margin-left: 4px; margin-top: 3px; margin-bottom: 15px; margin-right: 10px;  }
.S2 { min-height: 0px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px;  }
.S3 { line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px;  }
.S4 { line-height: 20.576000213623px; min-height: 20px; white-space: pre-wrap; color: rgb(60, 60, 60); font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; white-space: pre-wrap; margin-left: 4px; margin-top: 15px; margin-bottom: 9px; margin-right: 10px;  }
.S5 { text-align: center; line-height: 20.576000213623px; min-height: 20px; white-space: pre-wrap; color: rgb(60, 60, 60); font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; white-space: pre-wrap; margin-left: 4px; margin-top: 15px; margin-bottom: 9px; margin-right: 10px;  }
.S6 { font-family: Helvetica, Arial, sans-serif; margin-left: 0px; margin-top: 10px; margin-bottom: 20px; margin-right: 0px;  }
.S7 { text-align: left; line-height: 21px; white-space: pre-wrap; white-space: pre-wrap; margin-left: 56px; margin-top: 0px; margin-bottom: 0px; margin-right: 0px;  }
.S8 { text-align: center; line-height: 21px; min-height: 17px; white-space: pre-wrap; font-family: Helvetica, Arial, sans-serif; white-space: pre-wrap; margin-left: 4px; margin-top: 2px; margin-bottom: 9px; margin-right: 10px;  }

.LineNodeBlock {margin: 10px 0 10px 0; background-color: #F7F7F7;}
.LineNodeBlock+.paragraphNode {margin-top: 10px;}
.lineNode {padding-left: 10px; border-left: 1px solid #E9E9E9; border-right: 1px solid #E9E9E9;}
.inlineWrapper:first-child .lineNode,.inlineWrapper.outputs+.inlineWrapper .lineNode {padding-top: 5px; border-top: 1px solid #E9E9E9;}
.inlineWrapper:last-child .lineNode,.inlineWrapper.outputs .lineNode {padding-bottom: 5px; border-bottom: 1px solid #E9E9E9;}
.lineNode .textBox {white-space: pre;}
</style></head><body><div class = "content"><div class = 'SectionBlock containment active'><h1 class = "S1"><span class = "S2">PID_Control_Model_of_PMSM</span></h1><div class = "S3"><span class = "S2">Use PID Controller to implement Current-Control and Speed-Control and Position-Control of PMSM.Include FOC.</span></div><div class = "S3"><span class = "S2"></span></div><div class = "S3"><span class = "S2"></span></div><h2 class = "S4"><span class = "S2"># Model</span></h2><h2 class = "S5"><img class="imageNode" width="1291" height="521" style="vertical-align: baseline" src=""></h2><div class = "S3"><span class = "S2"></span></div><h2 class = "S4"><span class = "S2"># Description</span></h2><div class = "S3"><span class = "S2">In this example,we could see how PID Controller control the PMSM.And we could use this model to do the simulation of our Motor Control System.We just need to set the Parameters of the PMSM,Inverter,and the PWM Generater Block to match our hardware.Then we could use the PID Block to test the response of our Motor. The PID Controller Block could also generate C code.</span></div><div class = "S3"><span class = "S2"></span></div><h2 class = "S4"><span class = "S2"># Run Step</span></h2><ol class = "S6"><li class = "S7"><span class = "S0">Run the Model,and observe the response on the scope.</span></li></ol><div class = "S8"><img class="imageNode" width="371" height="267" style="vertical-align: baseline" src=""></div><div class = "S3"><span class = "S2">        2.   You could change the reference,and observe the scope again.</span></div><div class = "S3"><span class = "S2">        3.   You could do the same step1~2 in speed-loop to observe the response of speed and current. </span></div><div class = "S3"><span class = "S2">        4.   If you want tune the PID of the Controller,you could click on the PID Controller Block.</span></div><div class = "S8"><img class="imageNode" width="380" height="255" style="vertical-align: baseline" src=""></div><div class = "S3"><span class = "S2">        </span></div></div></div>
<!-- 
##### SOURCE BEGIN #####
%% PID_Control_Model_of_PMSM
% Use PID Controller to implement Current-Control and Speed-Control and Position-Control 
% of PMSM.Include FOC.
% 
% 
% 
% 
%% # Model
%% 
% 
%% # Description
% In this example,we could see how PID Controller control the PMSM.And we could 
% use this model to do the simulation of our Motor Control System.We just need 
% to set the Parameters of the PMSM,Inverter,and the PWM Generater Block to match 
% our hardware.Then we could use the PID Block to test the response of our Motor. 
% The PID Controller Block could also generate C code.
% 
% 
%% # Run Step
% # Run the Model,and observe the response on the scope.
% 
% 
% 
%         2.   You could change the reference,and observe the scope again.
% 
%         3.   You could do the same step1~2 in speed-loop to observe the 
% response of speed and current. 
% 
%         4.   If you want tune the PID of the Controller,you could click 
% on the PID Controller Block.
% 
% 
% 
%
##### SOURCE END #####
--></body></html>